//
//  MOTabBar.h
//  01,我的微博 (环境配置)
//
//  Created by user on 16/3/4.
//  Copyright © 2016年 son. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MOTabBar;

@protocol MOTabBarDelegate <NSObject>

@optional

- (void)tabBar:(MOTabBar *)tabBar didClickButton:(NSInteger)index;

/**
 * 点击加号按钮的时候调用
 */
- (void)tabBarDidClickPlusButton:(MOTabBar *)tabBar;

@end


@interface MOTabBar : UIView

//items:保存每一个按钮对应tabBarItem模型
@property (nonatomic,strong) NSArray *items;

@property (nonatomic,weak) id<MOTabBarDelegate> delegate;


@end
